package chpt02;

public class LoopDemo05 {
	static int fac(int n) {
		return n*fac(n-1);
	}

	public static void main(String[] args) {
		int n  = fac(4);
		System.out.println(n);
	}
}
